package com.iot.ammeter.dto.web.pay;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @ClassName: BalanceDTO
 * @Author: Basil
 * @Date: 2022/3/1 下午4:08
 * @Version: 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BalanceDTO {
    /**
     * 充值记录id
     */
    private String balanceId;
    /**
     * 充值金额
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal balanceAmount;
    /**
     * 充值时间
     */
    private LocalDateTime balanceTime;
    /**
     * 支付类型
     */
    private String payment;
    /**
     * app端用户id
     */
    private String appUserId;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

}
